package com.mdinfo.gw.door.bean

import com.baomidou.mybatisplus.activerecord.Model
import com.baomidou.mybatisplus.annotations.TableName
import java.io.Serializable
import java.util.*

/**
 * Created by Administrator on 2018/1/9.
 * 门卡实体类
 */
@TableName("door_card")
data class DoorCard(
        var id:Int = 0,                 //主键
        var devId:String = "",          //门卡编号
        var deptId:Int = 0,             //部门id
        var createTime:Date? = null,    //创建时间
        var empId:Int? = null       //门卡绑定的员工

) : Model<DoorCard>() {
    override fun pkVal(): Serializable {
        return this.id
    }
}